import axios from "@/utils/request";

// 查询【请填写功能名称】列表
export const listJob=(query:any)=> {
  return axios({
    path: '/system/job/list',
    method: 'get',
    data: query
  })
}

// 查询【请填写功能名称】详细
export const getJob=(stJobId:any)=> {
  return axios({
    path: '/system/job/' + stJobId,
    method: 'get'
  })
}

// 新增【请填写功能名称】
export const addJob=(data:any)=> {
  return axios({
    path: '/system/job',
    method: 'post',
    data: data
  })
}

// 修改【请填写功能名称】
export const updateJob=(data:any)=> {
  return axios({
    path: '/system/job',
    method: 'put',
    data: data
  })
}

// 删除【请填写功能名称】
export const delJob=(stJobId:any)=> {
  return axios({
    path: '/system/job/' + stJobId,
    method: 'delete'
  })
}
